package com.ruoyi.teaching.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * 高频面试题对象 ya_high_interview
 *
 * @author ruoyi
 * @date 2024-04-02
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("ya_high_interview")
public class HighInterview extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 面试题ID */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 阶段 */
    @Excel(name = "阶段")
    @TableField("stage")
    private Long stage;

    /** 面试题内容 */
    @Excel(name = "面试题内容")
    @TableField("question")
    private String question;

    /** 答案 */
    @Excel(name = "答案")
    @TableField("answer")
    private String answer;

    /** 知识点 */
    @Excel(name = "知识点")
    @TableField("knowledge_point")
    private String knowledgePoint;

    /** 重要性，1-一般,2-重要,3-非常重要 */
    @Excel(name = "重要性，1-一般,2-重要,3-非常重要")
    @TableField("importance")
    private Integer importance;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stage", getStage())
            .append("question", getQuestion())
            .append("answer", getAnswer())
            .append("knowledgePoint", getKnowledgePoint())
            .append("importance", getImportance())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
